$same-btn-color: #3aafb9;
%flexRowStart {
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
  align-items: center;
}
%flexColumn {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: center;
}
%flexRowBetween {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
}
%flexRowCenter {
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
}
.all {
  //@extend %flexColumn;
  //background-color: #f0eff5;
  width: 100%;
  height: 100%;
  padding-top: 126rpx;
  padding-bottom: 126rpx;
}
.modalRight {
  z-index: 999;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
  position: fixed;
  align-items: center;
  justify-content: center;

  .dialog {
    font-size: 28rpx;
    background-color: white;
    position: absolute;
    border-radius: 8 rpx;
    text-align: center;
    display: flex;
    flex-direction: column;
    //justify-content: center;
    align-items: flex-start;
    box-sizing: border-box;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 80%;
    padding: 20% 5%;
    color: #9b9b9b;
    .tip-name {
      margin-top: 11rpx;
      margin-bottom: 11rpx;
    }
    picker {
      width: 100%;
    }
    input {
      background-color: #f4f4f4;
      width: 100%;
      height: 60rpx;
      margin-top: 11rpx;
      margin-bottom: 11rpx;
      padding-left: 20rpx;
      text-align: left;
      box-sizing: border-box;
    }
    .confirm-btn {
      width: 256rpx;
      height: 80rpx;
      border-radius: 56rpx;
      @extend %flexRowCenter;
      background-color: #3aafb9;
    }
    .cancel-btn {
      width: 256rpx;
      height: 80rpx;
      border-radius: 56rpx;
      @extend %flexRowCenter;
      background-color: #adadad;
    }
    .btn {
      margin-top: 140rpx;
      color: #fff;
      @extend %flexRowBetween;
      width: 100%;
    }
  }
}
.filter {
  width: 100%;
  box-sizing: border-box;
  @extend %flexRowBetween;
  padding: 40rpx 15rpx;
  font-size: 26rpx;
  .filter-left {
    @extend %flexRowStart;
    color: #4a4a4a;
    div {
      margin-right: 15rpx;
    }
  }
  .clear-filter {
    color: #de6e7c;
  }
}
.cart {
  overflow-x: hidden;
  width: 100%;
  height: 100%;
  // background-color: #e4e4e4;
  .iconfont {
    font-size: 32rpx;
    display: inline-block;
    height: 236rpx;
    line-height: 236rpx;
    padding: 0 24rpx 0 30rpx;
  }
  .noselect-bg {
    width: 30rpx;
    height: 228rpx;
    padding: 0 24rpx 0 30rpx;
    border-radius: 6rpx;
    background-color: #e4e4e4;
  }

  .small {
    font-size: 22rpx;
  }

  .icon-choose {
    color: #979797;
  }

  .icon-xianshi_xuanzetianchong {
    height: 100%;
    border-radius: 6rpx;
    //color: #2A94EC;
    background-color: #DE6E7C;
    color: #fff;
  }
  .icon-xianshi_xuanzetianchong1 {
    color: #de0111;
  }
  .cartlist {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10rpx 25rpx 200rpx;
    box-sizing: border-box;
    height: 100%;
   background-color: #fff;
    .item {
      width: 700rpx;
      box-sizing: border-box;
      border-radius: 8rpx;
      height: 260rpx;
      position: relative;
      background: #F5F5F5;
      overflow-x: hidden;

      .con {
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: all 300ms ease-in-out;
        height: 260rpx;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 99;
        background-color: #F5F5F5;

        .left {
          display: flex;
          align-items: center;
          padding: 17rpx;
          width: 90%;
          height: 85%;

          .img {
            height: 236rpx;
            width: 180rpx;
            border-radius: 6rpx;
            border: 2rpx solid #eee;
            background: #f4f4f4;
          }

          .good-name {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
            font-size: 26rpx;
            color: #4a4a4a;
            //width: 324rpx;
            height: 88rpx;
          }

          .model-name {
            color: #9b9b9b;
            font-size: 24rpx;
            flex: 1;
          }

          .price {
            color: #333;
            font-size: 28rpx;
          }
        }
        .info {
          margin-left: 16rpx;
          //width: 324rpx;
          height: 180rpx;
          display: flex;
          flex-direction: column;
          justify-content: center;
        }

        .right {
          padding-right: 30rpx;
          font-size: 28rpx;
          color: #4a4a4a;
        }

        .num {
          margin-left: 8rpx;
        }
      }

      .delete {
        position: absolute;
        width: 160rpx;
        top: 0;
        right: 0;
        text-align: center;
        height: 100%;
        background: #1e90ff;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 30rpx;

        div {
          color: #fff;
        }
      }
    }

    .item + .item {
      margin-top: 10rpx;
    }
  }

  .fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 90rpx;
    line-height: 90rpx;
    width: 100%;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4rpx 26rpx 0 rgba(0,0,0,0.06);

    .iconfont {
      vertical-align: middle;
      height: 90rpx;
      line-height: 90rpx;
      margin-right: 0;
    }

    .text-all {
      margin-left: 10rpx;
      font-size: 28rpx;
      color: #666;
    }

    .right {
      margin-right: 15rpx;
      display: flex;
      width: 100 * 2rpx;
      height: 36 * 2rpx;
      background: #de0111;
      border-radius: 25 * 2rpx;
      color: #fff;
      justify-content: center;
      align-items: center;
      font-size: 26rpx;
    }
  }

  .nogoods {
    margin-top: 200rpx;

    img {
      margin: 0 auto;
      display: block;
      width: 258rpx;
      height: 258rpx;
    }
  }
}
.modal {
  z-index: 999;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
  position: fixed;
  align-items: center;
  justify-content: center;

  .dialog {
    /*padding-top: 70rpx;*/
    padding-bottom: 20 rpx;
    background-color: white;
    transform: translateX(-50%);
    position: absolute;
    left: 50%;
    top: 15%;
    border-radius: 8 rpx;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 569 rpx;
    height: 815 rpx;
    box-sizing: border-box;
    .container {
      height: 80%;
    }
    .bottom {
      width: 100%;
      margin-bottom: 10px;
      background: #5ac8fa;
      color: #ffffff;
      font-size: 14px;
    }
    .confirm-btn {
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #fff;
      font-size: 26rpx;
      background: #5ac8fa;
      height: 66rpx;
      margin-top: 80rpx;
      margin-bottom: 10rpx;
    }
    .title {
      margin: 28rpx auto 18rpx 36rpx;
      font-size: 32rpx;
      color: #4a4a4a;
    }
    .text {
      width: 263 * 2rpx;
      height: 69 * 2rpx;
      background: #ffffff;
      border: 1 * 2rpx solid #eaeaea;
      border-radius: 4 * 2rpx;
      text-align: left;
      padding-left: 31rpx;
      padding-top: 10rpx;
    }
    .ware-item {
      display: flex;
      flex-direction: row;
      margin-left: 10rpx;
      margin-top: 10rpx;
      justify-content: space-between;
      background: #f5f5f5;
      border-radius: 50rpx;
      width: 500rpx;
      height: 102rpx;
      align-items: center;
      overflow: hidden;
      font-size: 26rpx;
      margin-bottom: 14rpx;
      padding-left: 11rpx;
      padding-right: 11rpx;

      .ware-item-left {
        display: flex;
        justify-content: center;
        align-items: center;
        .num {
          font-size: 40rpx;
          color: #fff;
          width: 72rpx;
          height: 72rpx;
          display: flex;
          background: #d8d8d8;
          border-radius: 50%;
          justify-content: center;
        }
        .name {
          padding-left: 20rpx;
        }
      }
      i {
        color: #d8d8d8;
        font-size: 44rpx;
      }
    }
    .img-show {
      width: 455 rpx;
      height: 485 rpx;
      position: relative;
      overflow: hidden;
      margin-bottom: 26 rpx;
      border-radius: 8 rpx;

      .img {
        width: 100%;
        height: 100%;
      }

      .intro {
        width: 455 rpx;
        height: 112 rpx;
        position: absolute;
        background: rgba(0, 0, 0, 0.3);
        bottom: 0;
        padding-left: 20 rpx;
        padding-top: 12 rpx;
        font-weight: 100;

        .first-row {
          display: flex;
          flex-direction: flex-start;

          span:nth-child(1) {
            font-size: 32 rpx;
            color: #fff;
            font-weight: 400;
          }

          span:nth-child(2) {
            font-size: 28 rpx;
            color: #fff;
            display: flex;
            align-items: flex-end;
            padding-left: 10 rpx;
          }
        }

        .call-num {
          font-size: 28 rpx;
          color: #fff;
          text-align: left;
        }
      }
    }

    .look-just {
      font-size: 30 rpx;
      color: #cccccc;
      margin: 0;
      padding: 0;
      border: none; // 自定义边框
      outline: none; // 消除默认点击蓝色边框效果
      background-color: #fff;
      height: 67 rpx;
      display: flex;
      align-items: center;
    }

    .look-just::after {
      border: none;
    }

    .dialog-info {
      font-size: 26 rpx;
      padding: 30 rpx 0;
    }

    .avatar {
      display: flex;
      align-items: center;
      width: 455 rpx;
      justify-content: space-around;
      margin-bottom: 10 rpx;
      margin-top: 10 rpx;

      .say {
        font-size: 77 rpx;
        width: 355 rpx;
        position: relative;

        span {
          font-size: 28 rpx;
          position: absolute;
          left: 34 rpx;
          top: 37 rpx;
        }
      }

      .img-wrp {
        overflow: hidden;
        border-radius: 50%;
        border: 2 rpx solid rgba(151, 151, 151, 1);
        /*border: red 2rpx solid;*/
        width: 100 rpx;
        height: 100 rpx;
        box-sizing: border-box;

        /*margin: 0rpx auto 0;*/
        image {
          width: 100%;
        }
      }
    }

    .aa {
      width: 100%;
      position: fixed;
      bottom: -15rpx;
      right: 0;
      padding-bottom: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 16 rpx;
      text-align: center;
      flex-direction: column;
    }

    .btn {
      color: #9c3232;
      width: 20 rpx;
      height: 20 rpx;
      margin: 0;
      padding: 0;
      border-radius: 0;
      position: fixed;
      background-color: #fff;
      top: 0;

      &::after {
        border: none;
      }
    }

    .author-button {
      .icon-weixin1 {
        font-size: 28 rpx;
        padding-right: 8 rpx;
      }

      background-image: linear-gradient(to right, #2b93ec 30%, #54c6f7);
      border-radius: 15 rpx;
      font-size: 36 rpx;
      line-height: 2;
      color: #fff;
      width: 455 rpx;
      height: 71 rpx;
    }
  }
}
